package org.example.service;

import com.github.pagehelper.PageInfo;
import org.example.entity.Article;
import org.example.entity.Consultant;

import java.util.List;

public interface ArticleService {
    //    根据id查询
    Article get(int id);
    //分页查询
    PageInfo<Article> etPage(Article article, int pageNum, int pageSize);
    //    根据id查询文章内容
    List<Article> selectArticleById(int id);
}
